package com.javabase;

/**
 * @Description: java类作用描述
 * @Author: Bsea
 * @CreateDate: 2019/6/9$ 19:06$
 */
public class StringBufferTest {


    public static void main(String[] args) {
        String s1="abc";
        StringBuffer stringBuffer=new StringBuffer("abc");
        s1=s1+"d";
        String s2=stringBuffer.append("d").toString();


    }
}
